.prompt-tester {
  width: 100%;
}

/* 输出卡片 */
.output-card {
  background: #fafafa;
  border: 1px solid #f0f0f0;
}

.output-card pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
  max-height: 300px;
  overflow-y: auto;
}

/* 测试指标 */
.metric-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.metric-item span:first-child {
  font-weight: 500;
  color: #595959;
  min-width: 80px;
}

.metric-item .ant-progress {
  flex: 1;
  margin-left: 16px;
}

/* A/B测试样式 */
.ab-prompt-name {
  font-size: 16px;
  font-weight: 500;
  color: #262626;
  margin-bottom: 8px;
}

.ab-prompt-desc {
  font-size: 14px;
  color: #8c8c8c;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 批量测试输入 */
.ant-input-group-compact {
  display: flex;
}

/* 测试历史表格 */
.ant-table-wrapper {
  margin-top: 16px;
}

/* 统计卡片 */
.ant-statistic-title {
  font-size: 14px;
  color: #8c8c8c;
}

.ant-statistic-content {
  font-size: 20px;
}

/* Tab样式 */
.ant-tabs-tab {
  padding: 8px 16px;
}

.ant-tabs-tab .anticon {
  margin-right: 8px;
}

/* Alert样式 */
.ant-alert {
  margin-bottom: 16px;
}

/* 滚动条样式 */
.output-card pre::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.output-card pre::-webkit-scrollbar-thumb {
  background: #d9d9d9;
  border-radius: 3px;
}

.output-card pre::-webkit-scrollbar-thumb:hover {
  background: #bfbfbf;
}

.output-card pre::-webkit-scrollbar-track {
  background: transparent;
}

/* 响应式 */
@media (max-width: 768px) {
  .ab-prompt-name {
    font-size: 14px;
  }
  
  .ab-prompt-desc {
    font-size: 12px;
  }
}